import service from "@/utils/request";

export function enterExamService(enterExamDTO) {
    return service({
        url: '/user/exam/enter',
        method: 'post',
        data: enterExamDTO
    })
}
//写一个默认值比较稳妥
export function getExamListService(params={}) {
    return service({
        url: '/exam/semiLogin/redis/list',
        method: 'get',
        params
    })
}
 
export function getMyExamListService(params={}) {
    return service({
        url:'/user/exam/list',
        method:'get',
        params
    })
}
